home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / pcmagdoc.arc / SLASHBAR.DOC < prev    next >
Encoding:
Text File  |  1988-01-19  |  6.4 KB  |  146 lines

  1.           SLASHBAR                              Robert L. Hummel
  2.           Command                                    1987/No. 10
  3.  
  4.           ______________________________________________________
  5.  
  6.           Purpose:  Pops up a Lotus-style menu of the commands
  7.                     needed to operate a non-Lotus applications
  8.                     program.
  9.  
  10.           Format:   [d:][path]SLASHBAR [path]menuname.ext [/n]
  11.  
  12.           Remarks:  Menuname.ext is a menu (.BAR) file compiled
  13.                     for the application in question with the
  14.                     MAKEBAR.COM program contained on this disk.
  15.                     When first loaded, SLASHBAR becomes memory-
  16.                     resident and uses the /n parameter to reserve
  17.                     sufficient room in memory for the largest
  18.                     .BAR file that will be used during the
  19.                     current session.  The default value of n is
  20.                     4096 bytes.  The maximum value of n is
  21.                     approximately 60,000 bytes, which is more
  22.                     than the largest .BAR file that can be
  23.                     produced by the MAKEBAR compiler.  The
  24.                     SLASHBAR command can be run many times during
  25.                     a session in order to replace the menu in use
  26.                     with that for a different applications
  27.                     program, but the /n parameter is used only
  28.                     for the first loading.
  29.  
  30.                     The default "hot key" used by SLASHBAR to pop
  31.                     up the menu in current use is Alt-/ (Alt plus
  32.                     the slashbar key).  Instructions for changing
  33.                     this trigger key are given in the Notes.
  34.  
  35.           Example:  To load the sample DOS.BAR menu supplied on
  36.                     this disk, at the DOS prompt enter
  37.  
  38.                        SLASHBAR DOS.BAR
  39.  
  40.                     (DOS.BAR requires less than 1500 bytes, so no
  41.                     n parameter need be given.)  Alt-/ brings up
  42.                     the menu, whose commands are activated either
  43.                     by moving the highlight bar to the desired
  44.                     command and pressing Enter, or simply by
  45.                     typing the first letter of the command.  The
  46.                     second line of the menu is the explanatory
  47.                     help line for the currently-highlighted
  48.                     command, as in Lotus 1-2-3.
  49.  
  50.                     Notes:
  51.  
  52.                     1.   If you are familiar with DEBUG, you can
  53.                          change the "hot key" used by SLASHBAR.
  54.                          The possible Shift-Mask values (MM in
  55.                          the DEBUG session below) are listed in a
  56.                          table on the next page.  The default
  57.                          (the Alt key) is 08 at offset 171.
  58.  
  59.                     2.   Alternate values for the Scan-Code (SS
  60.                          in the DEBUG session below) are
  61.                          similarly listed in the table below.
  62.                          The default (the slash / key) value is
  63.                          35, and its offset address is 167.
  64.                          After selecting new values for SS and
  65.                          MM, the DEBUG session would be as
  66.                          follows:
  67.  
  68.                          DEBUG SLASHBAR.COM
  69.                          E 167 SS         ;Scan code here
  70.                          E 171 MM         ;Shift mask here
  71.                          W
  72.                          Q
  73.  
  74.                          End each line above with a carriage
  75.                          return and do not type in the semicolons
  76.                          or the words to their right.
  77.  
  78.  
  79.           SHIFT-MASK Value Table ("X" means key is depressed)
  80.  
  81.           Value   Alt     Ctrl    L-Shft  R-Shft
  82.            00
  83.            01                                X
  84.            02                        X
  85.            03                        X       X
  86.            04               X
  87.            05               X                X
  88.            06               X        X
  89.            07               X        X       X
  90.            08       X
  91.            09       X                        X
  92.            0A       X                X
  93.            0B       X                X       X
  94.            0C       X       X
  95.            0D       X       X                X
  96.            0E       X       X        X
  97.            0F       X       X        X       X
  98.  
  99.  
  100.           SCAN-CODE Value Table (in hex)
  101.  
  102.           Key    Code             Key    Code
  103.           Esc     01              |\      2B
  104.           !1      02              Z       2C
  105.           @2      03              X       2D
  106.           #3      04              C       2E
  107.           $4      05              V       2F
  108.           %5      06              B       30
  109.           ^6      07              N       31
  110.           &7      08              M       32
  111.           *8      09              <,      33
  112.           (9      0A              >.      34
  113.           )0      0B              ?/      35
  114.           _-      0C              R-Shft  36
  115.           +=      0D              PrtSc*  37
  116.           Bksp    0E              Alt     38
  117.           Tab     0F              Sp      39
  118.           Q       10              CapsLk  3A
  119.           W       11              F1      3B
  120.           E       12              F2      3C
  121.           R       13              F3      3D
  122.           T       14              F4      3E
  123.           Y       15              F5      3F
  124.           U       16              F6      40
  125.           I       17              F7      41
  126.           O       18              F8      42
  127.           P       19              F9      43
  128.           {[      1A              F10     44
  129.           }]      1B              NumLk   45
  130.           Enter   1C              ScrLk   46
  131.           Ctrl    1D              7Home   47
  132.           A       1E              8Up     48
  133.           S       1F              9PgUp   49
  134.           D       20              -       4A
  135.           F       21              4Left   4B
  136.           G       22              5       4C
  137.           H       23              6Right  4D
  138.           J       24              +       4E
  139.           K       25              1End    4F
  140.           L       26              2Down   50
  141.           :;      27              3PgDn   51
  142.           "'      28              0Ins    52
  143.           ~`      29              .Del    53
  144.           LShft   2A
  145.  
  146.